package com.yy.studyspringboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//@ComponentScan(nameGenerator = UniqueNameGenerator.class)
@SpringBootApplication
@MapperScan(basePackages = "com.yy.studyspringboot.mapper")
@ServletComponentScan
public class StudySpringbootApplication {
    public static void main(String[] args) {
        SpringApplication.run(StudySpringbootApplication.class, args);
    }
}
